Search results
71 packages found
The same useRef, but with callback
A React hook that updates useRef().current with the most recent value each invocation
A custom React hook, useFormFieldsRef, that creates an object with references to form inputs and provides methods to get and set their values, as well as to create FormData for form submissions.
bedrock-layout useForwardedRef
A React hook for merging multiple refs into one ref
- react
- react hook
- merged ref
- merge two refs
- combine refs
- multiple refs
- merge refs
- merge react refs
- usemergerefs
- use merge refs
- usemergedref
- use merged ref
bedrock-layout useStatefulRef
An assortment of utilities for testing against unstable references in React
React hook for traversing DOM elements with keyboard arrows.
--- title: README nav: title: Hooks path: /hook group: title: Effect Ref path: /effect-ref order: 1 ---
This is an internal library to facilitate the use of Observers in hooks.
Returns a ref with a current value of true if mounted
Custom hook designed to detect if an element is visible within the viewport.
--- title: README nav: title: Hooks path: /hook group: title: Merged Ref path: /merged-ref order: 1 ---
📦 useIsMountedRef is a React Hook to check when the component is mounted.
useChildRef is a React hook for getting or creating a child ref
Scroll event listener for scrollable ref
- react
- hook
- react-hook
- use
- use-scrollableref
- use-scrollable-ref
- scroll-event
- scroll-listener
- scroll-event-listener
- overflow-scroll-listener
- scroll-ref
- ref-scroll
React.useRef with an immediate setter and read-only value.
use-previous hook stores the previous value of a state in a ref, it returns undefined on initial render and the previous value of a state after rerender:
A React hook to detect if an HTML Element has been display in the viewport. This is easy to use. You just have to provide an react ref. By default it freeze the value when the element has been display. That is nice to triggered one time animation !
- react
- react hook
- intersection observer
- react viewport
- react viewport detect
- freeze
- react animation
- trigger animation
Custom React Hook for initializing IntersectionObserver on any node ref